import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 模拟dubbo提供者
 */
public class MainApplication {
    public static void main(String[] args) throws InterruptedException {
        ClassPathXmlApplicationContext ios = new ClassPathXmlApplicationContext("provider.xml");
        ios.start();

        //程序睡眠一下，等待结果
        Thread.sleep(Long.MAX_VALUE);
    }
}
